package com.heima.stringbuffer;

public class Delete {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringBuffer sb = new StringBuffer();
		sb.append("www.baidu.com");
//		System.out.println(sb.deleteCharAt(5)); //www.bidu.com
		
		System.out.println(sb.delete(0,sb.length()));
	}

}
